document.addEventListener('DOMContentLoaded', function () {
	var bet_info = chrome.extension.getBackgroundPage().bet_info;
    $("#bet-num").html(bet_info.total);
    if (bet_info.extensionerr != ''){
    	$("#extensionerr").show();
    	$("#extensionerr-msg").html(bet_info.extensionerr);
    }
});
